﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZHDJ.Core.Util;
using ZHDJ.Data.Models.Box;

namespace ZHDJ.Data.Initializer
{
   public static class ConfigsInit
    {
        public static List<Config> GetConfigs()
        {
            var configs = new List<Config> {
                new Config
                {
                    ID=StringHelper.NewID,
                    ConfigKey = "Title",
                    ConfigValue = "AppBox - 基于 FineUI 的通用权限管理框架",
                    Remark = "网站的标题"
                },
                new Config
                {

                    ID=StringHelper.NewID,
                    ConfigKey = "PageSize",
                    ConfigValue = "20",
                    Remark = "表格每页显示的个数"
                },
                new Config
                {ID=StringHelper.NewID,
                    ConfigKey = "MenuType",
                    ConfigValue = "tree",
                    Remark = "左侧菜单样式"
                },
                new Config
                {ID=StringHelper.NewID,
                    ConfigKey = "Theme",
                    ConfigValue = "Neptune",
                    Remark = "网站主题"
                },
                new Config
                {ID=StringHelper.NewID,
                    ConfigKey = "HelpList",
                    ConfigValue = "[{\"Text\":\"万年历\",\"Icon\":\"Calendar\",\"ID\":\"wannianli\",\"URL\":\"~/app/box/admin/help/wannianli.htm\"},{\"Text\":\"科学计算器\",\"Icon\":\"Calculator\",\"ID\":\"jisuanqi\",\"URL\":\"~/app/box/admin/help/jisuanqi.htm\"},{\"Text\":\"系统帮助\",\"Icon\":\"Help\",\"ID\":\"help\",\"URL\":\"~/app/box/admin/help/help.htm\"}]",
                    Remark = "帮助下拉列表的JSON字符串"
                }
            };

            return configs;
        }
    }
}
